/**
 * 
 */
package algorithm.sort;

import java.text.Collator;
import java.util.Arrays;
import java.util.Locale;

/**
 * @author LionBule 2011-3-2 ����10:34:37
 */
public class TestSortByChina {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String[] all = new String[] { "����.����.Ԥ��.��Ϣ", "����.����", "����.����",
				"����.����.����", "ab", "��ok", "�й�", "����.�й�", "����" };
		Arrays.sort(all, Collator.getInstance(Locale.CHINESE));

		for (String s : all) {
			System.out.println(s);
		}
	}

}
